package com.nineclock.document;

import com.nineclock.system.dto.SysCompanyUserDTO;
import com.nineclock.system.feign.SysUserFeign;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @author ：zhangxiaoya
 * @date ：Created in 2021/7/22 12:19
 * @description ：
 * @version: 1.0
 * @since JDK 1.8
 */
@SpringBootTest
@RunWith(SpringRunner.class)
public class testApi {

	@Autowired
	private SysUserFeign sysUserFeign;

	@Test
	public void test01(){
		SysCompanyUserDTO data = sysUserFeign.queryCompanyUserById("1").getData();
		System.out.println(data);
	}
}
